import request from '@/utils/request'

export const login = (data) => request({
  method: 'post',
  url: '/sys/login',
  data
})
export const reqGetUserInfo = () => request({
  url: '/sys/profile'
})

// 修改密码
export const reqUpdatePassword = data => request({
  method: 'put',
  url: '/sys/user/updatePass',
  data
})
